package com.etc.controller;

import com.etc.entity.SysUser;
import com.etc.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author kalista
 * @Description
 * @Date 2021/1/7  9:59
 **/
@RestController
public class SysUserController {

    @Autowired
    private ISysUserService iSysUserService;


    @GetMapping("/getAllUser")
    public List<SysUser> findByUser(){
        return iSysUserService.findByUser();
    }


}
